/*
 *    Copyright (c) 2018-2025, orient All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: orient
 */

package cn.goswan.orient.guohur.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * sku
 *
 * @author wangchuang
 * @date 2020-05-28 11:28:16
 */
@Data
@TableName("goods_sku")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "sku")
public class GoodsSku extends Model<GoodsSku> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String skuCode;
    /**
     * 商品编号
     */
    @ApiModelProperty(value="商品编号")
    private String goodsCode;
    /**
     * 商品名称
     */
    @ApiModelProperty(value="商品名称")
    private String goodsName;
    /**
     * 一级分类
     */
    @ApiModelProperty(value="一级分类")
    private String goodsTypeOne;
    /**
     * 二级分类
     */
    @ApiModelProperty(value="二级分类")
    private String goodsTypeTwo;
    /**
     * 商品卖点描述
     */
    @ApiModelProperty(value="商品卖点描述")
    private String goodsSalePoint;
    /**
     * 助记码
     */
    @ApiModelProperty(value="助记码")
    private String smartCode;
    /**
     * 商品单位
     */
    @ApiModelProperty(value="商品单位")
    private String goodsUnit;
    /**
     * 商品数量
     */
    @ApiModelProperty(value="商品数量")
    private Integer goodsNum;
    /**
     * 商品价格
     */
    @ApiModelProperty(value="商品价格")
    private BigDecimal goodsPrice;
    /**
     * 销售价格
     */
    @ApiModelProperty(value="销售价格")
    private BigDecimal salePrice;
    /**
     * 平台价格
     */
    @ApiModelProperty(value="平台价格")
    private BigDecimal plateformPrice;
    /**
     * 商品产地
     */
    @ApiModelProperty(value="商品产地")
    private String producePlace;
    /**
     * 折扣
     */
    @ApiModelProperty(value="折扣")
    private Float discount;
    /**
     * 折扣价格
     */
    @ApiModelProperty(value="折扣价格")
    private BigDecimal offsalePrice;
    /**
     * 折扣开始时间
     */
    @ApiModelProperty(value="折扣开始时间")
    private LocalDateTime offsaleStarttime;
    /**
     * 折扣结束时间
     */
    @ApiModelProperty(value="折扣结束时间")
    private LocalDateTime offsaleEndtime;
    /**
     * 团购价格
     */
    @ApiModelProperty(value="团购价格")
    private BigDecimal groupBuyPrice;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private LocalDateTime groupBuyStarttime;
    /**
     * 团购结束时间
     */
    @ApiModelProperty(value="团购结束时间")
    private LocalDateTime groupBuyEndtime;
    /**
     * 生产厂商
     */
    @ApiModelProperty(value="生产厂商")
    private String produceCpy;
    /**
     * 保质期
     */
    @ApiModelProperty(value="保质期")
    private Integer saveDays;
    /**
     * 商品成分
     */
    @ApiModelProperty(value="商品成分")
    private String goodsComponent;
    /**
     * 商品功效
     */
    @ApiModelProperty(value="商品功效")
    private String goodsEffect;
    /**
     * 商品描述
     */
    @ApiModelProperty(value="商品描述")
    private String goodsDisc;
    /**
     * 商品规格
     */
    @ApiModelProperty(value="商品规格")
    private String goodsSpec;
    /**
     * 商品图片1
     */
    @ApiModelProperty(value="商品图片1")
    private String pic1;
    /**
     * 商品图片2
     */
    @ApiModelProperty(value="商品图片2")
    private String pic2;
    /**
     * 商品图片3
     */
    @ApiModelProperty(value="商品图片3")
    private String pic3;
    /**
     * 商品图片4
     */
    @ApiModelProperty(value="商品图片4")
    private String pic4;
    /**
     * 商品图片5
     */
    @ApiModelProperty(value="商品图片5")
    private String pic5;
    /**
     * 商品图片6
     */
    @ApiModelProperty(value="商品图片6")
    private String pic6;
    /**
     * 商品图片7
     */
    @ApiModelProperty(value="商品图片7")
    private String pic7;
    /**
     * 商品图片8
     */
    @ApiModelProperty(value="商品图片8")
    private String pic8;
    /**
     * 商品图片9
     */
    @ApiModelProperty(value="商品图片9")
    private String pic9;
    /**
     * 商品图片10
     */
    @ApiModelProperty(value="商品图片10")
    private String pic10;
    /**
     * 商户编号
     */
    @ApiModelProperty(value="商户编号")
    private String shopCode;
    /**
     * 是否上架
     */
    @ApiModelProperty(value="是否上架")
    private String isOnSale;
    /**
     * 是否打折
     */
    @ApiModelProperty(value="是否打折")
    private String isOffsale;
    /**
     * 是否参团
     */
    @ApiModelProperty(value="是否参团")
    private String isGroupBuy;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String mark;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private String insP;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime insT;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private String updP;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updT;
    }
